let box_main = document.querySelector(".box_main");
let _day = document.querySelector(".box_main>span");
let _ewmBox = document.querySelector(".ewmBox>img")
cc_time = sessionStorage.getItem("cc_time");



ajax("http://newshopapi.0melon0.cn/api/f_user/report", {
        "name": `${sessionStorage.getItem("_name")}`,
        "phone": `${sessionStorage.getItem("_phone")}`,
    }, "POST").then(res => {
        
        box_main.innerHTML = `<p>姓名:${sessionStorage.getItem("_name")}</p><span>场次: ${res.result[res.result.length-1].day_time} <br/> ${cc_time}</span>
        <div class="ewmBox">  <img src="${sessionStorage.getItem("img")}" alt=""></div>`

    })
    .catch(err => {
        console.log(err);
    });